For details about syntax and semantics, see "Programming languages - Overview".
The languages consist of two textual and three graphical versions:
Textual:
Graphical
All five languages are interlinked: they provide a common suite. The choice of programming language depends on:
SFC describes graphically the sequential behavior of a control program. It is derived from Petri Nets.
SFC organizes the internal structure of a program, and helps to deconstruct a control problem into manageable parts, while maintaining the overview.
SFC consists of steps, linked with Action Blocks and Transitions. Each step represents a particular state of the systems being controlled. A transition is associated with a condition, which, when true, causes the step before the transition to be deactivated, and the next step to be activated. Steps are linked to action blocks, performing a specific control action. Each element can be programmed in any of the IEC languages, including SFC itself.
Alternative and Parallel Sequences
You can use alternative sequences and even parallel sequences, like those commonly required in batch applications. For example, one sequence is used for the primary process, and the second for monitoring the overall operating constraints.
As shown in the following picture, parallel sequences are also possible:
Figure 5-1: Example of a Parallel Sequence in SFC
From step 1, it either goes to step 2a or step 2b, depending on which of the transition conditions is met. Both conditions need to exclude each other.
ST is a very powerful high-level language with its roots in ADA, Pascal and “C”. It contains all the essential elements of a modern programming language, including selection branches (IF-THEN-ELSE and CASE OF) and iteration loops (FOR, WHILE and REPEAT). These elements can also be nested. It can be used for the definition of complex function blocks, which can be used within any of the other languages.
FBD is very common to the process industry. It expresses the behavior of functions, function blocks and programs as a set of interconnected graphical blocks, as in electronic circuit diagrams. It looks at a system in terms of the flow of signals between processing elements.
FFLD is based on the graphical presentation of Relay Ladder Logic.
IL is the European counterpart of FFLD. As textual language, it looks like Assembler.
|
Copyright © 2015 Kollmorgen™ |
|